/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.assignment2.inheritance.model;

/**
 *
 * @author Matthew
 */
public class Snake extends Reptile {

    
    @Override
    public String EatPrey() {
        return super.getSubGroup() + "eat their prey whole...";
    }

    @Override
    public int NumberOfChildren() {
        return 10;
    }

    public boolean Poisonous() {
        
        if(super.isFourLegged()==true)
            return super.isPoisonous();
        else
            return false;
    }
    
}
